.container {
  height: 130px;
}
.box_6 {
  width: 100px;
  height: 100px;
  border-radius: 20px;
  border: 1px solid black;
  animation: border 5s infinite;
}
@keyframes border {
  50% {
    border: 15px dotted lightpink;
  }
}